#pragma once

enum ACCOUNT_STATUS
{
    AS_NORMAL, AS_LOCK
};

class CAccount
{
private:
    char sAccountID[20];
    char sFullName[30];
    char sPhone[15];
    char sAddress[80];
    int nAccountStatus;
    char sSex[5];
    char sType[10];
    long lBalance;

public:
    CAccount(void);
    ~CAccount(void);

    char* GetAccountID();
    void SetAccountID(char* sAccountID);

    char* GetFullName();
    void SetFullName(char* sFullName);

    char* GetPhone();
    void SetPhone(char* sPhone);

    char* GetAddress();
    void SetAddress(char* sAddress);

    int GetAccountStatus();
    void SetAccountStatus(int nAccountStatus);

    char* GetSex();
    void SetSex(char* sSex);

    char* GetType();
    void SetType(char* sType);

    long GetBalance();
    void SetBalance(long lBalance);
};
